package org.springblade.modules.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;

/**
 * 评分模板
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "blade_maintain_score_template_nature")
public class MaintainScoreTemplateNature extends TenantEntity {
    /**
     * 评分模板id
     */
    @TableField(value = "score_template_id")
    private Long scoreTemplateId;

    /**
     * 评分项字典key
     */
    @TableField(value = "nature_key")
    private String natureKey;

    /**
     * 占比
     */
    @TableField(value = "proportion")
    private BigDecimal proportion;
}